﻿<%@ Control Language="C#" AutoEventWireup="true" CodeFile="RealestateSlider.ascx.cs"
    Inherits="Controls_RealestateSlider" %>
<div id="container">
    <link href="/Styles/style1.css" rel="stylesheet" type="text/css" />
    <script src="/scripts/jquery.easing.js" type="text/javascript" language="javascript"></script>
    <script src="/scripts/scripts2.js" type="text/javascript" language="javascript"></script>
    <script type="text/javascript">
        $(document).ready(function () {
            var buttons = { previous: $('#lofslidecontent45 .lof-previous'),
                next: $('#lofslidecontent45 .lof-next')
            };

            $obj = $('#lofslidecontent45').lofJSidernews({ interval: 4000,
                direction: 'opacitys',
                easing: 'easeInOutExpo',
                duration: 1200,
                auto: true,
                maxItemDisplay: 4,
                navPosition: 'horizontal', // horizontal
                navigatorHeight: 32,
                navigatorWidth: 80,
                mainWidth: 731,
                buttons: buttons
            });
        });
    </script>
    <div style="width: 731px; height: 218px;" class="lof-slidecontent" id="lofslidecontent45">
        <div class="preload" style="display: none;">
            <div>
            </div>
        </div>
        <!-- MAIN CONTENT -->
        <div style="width: 731px; height: 218px;" class="lof-main-outer">
            <ul class="lof-main-wapper" style="left: -2924px; width: 5848px;">
                <asp:Repeater ID="rptNews" runat="server">
                    <ItemTemplate>
                        <li>
                            <img title="Newsflash 2" src="/upload/<%#Eval("THUMB_IMG") %>">
                            <div class="lof-main-item-desc">
                                <h3>
                                    <a href="#Category-<%#Container.ItemIndex+1 %>" title="Newsflash <%#Container.ItemIndex+1 %>"
                                        target="_parent">
                                        <%#DigiLib.StringUtils.Substring(Eval("FULL_ARTICLE_TITLE").ToString(),0,33) %></a></h3>
                                <p>
                                    <%#DigiLib.StringUtils.Substring(Eval("FULL_ARTICLE_DESCRIPTION").ToString(), 0, 145)%>
                                </p>
                                <a href="/tin-tuc/<%#DigiLib.StringUtils.RemoveUnicode(Eval("FULL_ARTICLE_TITLE").ToString(),"-") + "-c" + Eval("CATEGORY_ID").ToString() + "a" + Eval("ARTICLE_ID").ToString() %>.htm" class="readmore">Read more &gt;&gt; </a>
                            </div>
                        </li>
                    </ItemTemplate>
                </asp:Repeater>
            </ul>
        </div>
    </div>
</div>
<!--End #container-->
